home *** CD-ROM | disk | FTP | other *** search
/ Apple WWDC 1996 / WWDC96_1996 (CD).toast / Technology Materials / MacOS 8 Resources / Developer Tools / Mac OS 8 Interfaces & Libraries / Interfaces / AIncludes / TerminalTools.a < prev    next >
Text File  |  1996-05-01  |  3KB  |  98 lines

  1. ;
  2. ;    File:        TerminalTools.a
  3. ;
  4. ;    Contains:    Communications Toolbox Terminal tools Interfaces.
  5. ;
  6. ;    Version:    Technology:    System 7.5
  7. ;                Release:    Universal Interfaces 3.0d3 on Copland DR1
  8. ;
  9. ;    Copyright:    © 1984-1996 by Apple Computer, Inc.  All rights reserved.
  10. ;
  11. ;    Bugs?:        If you find a problem with this file, send the file and version
  12. ;                information (from above) and the problem description to:
  13. ;
  14. ;                    Internet:    apple.bugs@applelink.apple.com
  15. ;                    AppleLink:    APPLE.BUGS
  16. ;
  17. ;
  18.     IF &TYPE('__TERMINALTOOLS__') = 'UNDEFINED' THEN
  19. __TERMINALTOOLS__ SET 1
  20.  
  21.     IF &TYPE('__DIALOGS__') = 'UNDEFINED' THEN
  22.     include 'Dialogs.a'
  23.     ENDIF
  24.     IF &TYPE('__TERMINALS__') = 'UNDEFINED' THEN
  25.     include 'Terminals.a'
  26.     ENDIF
  27.     IF FOR_SYSTEM7_ONLY THEN
  28.  
  29. tdefType                        EQU        'tdef'
  30. tvalType                        EQU        'tval'
  31. tsetType                        EQU        'tset'
  32. tlocType                        EQU        'tloc'
  33. tscrType                        EQU        'tscr'
  34. tbndType                        EQU        'tbnd'
  35. tverType                        EQU        'vers'                ; messages 
  36. tmInitMsg                        EQU        0
  37. tmDisposeMsg                    EQU        1
  38. tmSuspendMsg                    EQU        2
  39. tmResumeMsg                        EQU        3
  40. tmMenuMsg                        EQU        4
  41. tmEventMsg                        EQU        5
  42. tmActivateMsg                    EQU        6
  43. tmDeactivateMsg                    EQU        7
  44. tmGetErrorStringMsg                EQU        8
  45. tmIdleMsg                        EQU        50
  46. tmResetMsg                        EQU        51
  47. tmKeyMsg                        EQU        100
  48. tmStreamMsg                        EQU        101
  49. tmResizeMsg                        EQU        102
  50. tmUpdateMsg                        EQU        103
  51. tmClickMsg                        EQU        104
  52. tmGetSelectionMsg                EQU        105
  53. tmSetSelectionMsg                EQU        106
  54. tmScrollMsg                        EQU        107
  55. tmClearMsg                        EQU        108
  56.  
  57. tmGetLineMsg                    EQU        109
  58. tmPaintMsg                        EQU        110
  59. tmCursorMsg                        EQU        111
  60. tmGetEnvironsMsg                EQU        112
  61. tmDoTermKeyMsg                    EQU        113
  62. tmCountTermKeysMsg                EQU        114
  63. tmGetIndTermKeyMsg                EQU        115                    ; messages for validate DefProc    
  64. tmValidateMsg                    EQU        0
  65. tmDefaultMsg                    EQU        1                    ; messages for Setup DefProc    
  66. tmSpreflightMsg                    EQU        0
  67. tmSsetupMsg                        EQU        1
  68. tmSitemMsg                        EQU        2
  69. tmSfilterMsg                    EQU        3
  70. tmScleanupMsg                    EQU        4                    ; messages for scripting defProc    
  71. tmMgetMsg                        EQU        0
  72. tmMsetMsg                        EQU        1                    ; messages for localization defProc  
  73. tmL2English                        EQU        0
  74. tmL2Intl                        EQU        1
  75. TMSearchBlock            RECORD 0
  76. theString                 ds.l    1                ; offset: $0 (0)
  77. where                     ds        Rect            ; offset: $4 (4)
  78. searchType                 ds.w    1                ; offset: $C (12)
  79. callBack                 ds.l    1                ; offset: $E (14)
  80. refnum                     ds.w    1                ; offset: $12 (18)
  81. next                     ds.l    1                ; offset: $14 (20)
  82. sizeof                     EQU *                    ; size:   $18 (24)
  83.                         ENDR
  84. ; typedef struct TMSearchBlock *        TMSearchBlockPtr
  85.  
  86. TMSetupStruct            RECORD 0
  87. theDialog                 ds.l    1                ; offset: $0 (0)
  88. count                     ds.w    1                ; offset: $4 (4)
  89. theConfig                 ds.l    1                ; offset: $6 (6)
  90. procID                     ds.w    1                ; offset: $A (10)        ;  procID of the tool 
  91. sizeof                     EQU *                    ; size:   $C (12)
  92.                         ENDR
  93. ; typedef struct TMSetupStruct *        TMSetupPtr
  94.  
  95.     ENDIF
  96.     ENDIF ; __TERMINALTOOLS__ 
  97.  
  98.